package com.xcc.factorypattern.demo03;

/**
 * @Description: ChicagoStyleCheesePizza
 * @Author xiechuang
 * @Date 2022/9/3
 */
public class ChicagoStyleCheesePizza extends Pizza {

    public ChicagoStyleCheesePizza() {
        name = "ChicagoStyleCheesePizza name";
        dough = "ChicagoStyleCheesePizza dough";
        sauce = "ChicagoStyleCheesePizza sauce";

        toppings.add("ChicagoStyleCheesePizza");
    }

    void cut() {
        System.out.println("cutting the pizza into square slices");
    }

}
